home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr52
/
expand53.zip
/
XPDEMO.ZIP
/
XPCOLOR.PRG
< prev
next >
Wrap
Text File
|
1992-08-17
|
754b
|
25 lines
* ------------------------------------------------------------------------
* Module......: XPCOLOR.PRG
* Title.......: Color part of the Expand Library Demonstration Program
* Author......: Pepijn Smits.
* Date........: July/August 1992
* Copyright...: (c)1992 by Softwarebureau Pepijn Smits
* Notes.......: Clipper 5.01 Demo of the Expand Library
* ------------------------------------------------------------------------
Static lColor := .f.
Init Function InitColor()
lColor := (isColor() .and. At('/BW',Upper(XPcommandLine()))=0)
Return (NIL)
Function NormColor
SetColor(if(lColor,'W+/B,W+/N,,GR+/B,GR+/N',''))
XPcolor()
Return (NIL)
Function MenuColor
SetColor(if(lColor,'n/w,w+/r,,r/w,gr+/r',''))
XPcolor()
Return (NIL)